package com.qidianit.mes.pro.service;

import com.github.pagehelper.PageInfo;
import com.qidianit.mes.pojo.Result;
import com.qidianit.mes.pojo.pro.Process;
import com.qidianit.mes.pojo.pro.ProductionOrder;
import com.qidianit.mes.pojo.pro.Workflow;
import com.qidianit.mes.pojo.pro.WorkflowProduct;
import com.qidianit.mes.pro.mapper.ProductionOrderMapper;

import java.util.List;

public interface ProductionOrderService {
    Result<PageInfo<ProductionOrder>> selectList(
            int pageNum, int pageSize,
            ProductionOrder productionOrder,
            String materialName);
    Result<ProductionOrder> queryByCode(Long id);

    Result<ProductionOrder> add(ProductionOrder productionOrder);

    Result<ProductionOrder>  updateById(ProductionOrder productionOrder);

    Result    deleteById(Long id);
}
